package service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.DishDao;
import po.Dish;
import service.DishService;

@Service("dishService")
public class DishServiceImpl implements DishService {

	@Autowired
	private DishDao dishDao;
	
	@Override
	public List<Dish> getAdDish(List<String> didList) {
		return dishDao.getAdDish(didList);
	}

	@Override
	public Dish findDishByDid(String did) {
		
		return dishDao.findDishByDid(did);
	}

}
